package com.woniu.been.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Teachers {
    private Integer teacherId;
    private String teacherName;
    private String password;
    private String telephone;
    private Integer role;
    private String imgPath;
    private String code;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private String amendName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date amendTime;

    private TRole tRole;
    private Courses courses;
}
